home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- rem Mit dieser Batch-Datei können Sie die Dateiattribute für die Dateien im
- rem Windows-Verzeichnis setzen, wenn Sie die Standardinstallation von
- rem HD95Protect verwenden.
- rem Passen Sie ggf. das Verzeichnis C:\WINDOWS an.
-
- rem Bei Bedarf können Sie natürlich weitere Dateien und/oder Verzeichnisse
- rem hinzufügen.
-
- if (%1)==() goto FEHLER
- if (%1)==(+) goto PLUS
- if (%1)==(-) goto MINUS
- :PLUS
- attrib +r c:\windows\*.* /S
- attrib -r c:\*.swp /S
- attrib -r c:\windows\*.pwl
- attrib -r c:\windows\profiles\*.* /S
- goto ENDE
- :MINUS
- attrib -r c:\windows\*.* /S
- goto ENDE
- :FEHLER
- echo Aufruf: winattr - oder winattr +
- :ENDE
-